package com.hurr.service;

import java.util.Collection;

import com.hurr.bo.Finance;

/**
 * Service for Finance logic
 * 
 * @author Fernando Perelli
 * 
 */
public interface FinanceService {

	/**
	 * Save method
	 * 
	 * @param finance
	 * @return Finance
	 */
	public Finance save(Finance finance);

	/**
	 * Update Method
	 * 
	 * @param finance
	 */
	public void update(Finance finance);

	/**
	 * Delete Method
	 * 
	 * @param finance
	 */
	public void delete(Finance finance);

	/**
	 * Find By Id method
	 * 
	 * @param id
	 * @return Finance
	 */
	public Finance findById(Long id);

	/**
	 * Find All method
	 * 
	 * @return Collection<Finance>
	 */
	public Collection<Finance> findAll();
}
